home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Pascal / Snippets / PNL Libraries / NSSpriteWorld8BitBlitters.p < prev    next >
Encoding:
Text File  |  1997-04-23  |  765 b   |  39 lines  |  [TEXT/CWIE]

  1. unit NSSpriteWorld8BitBlitters;
  2.  
  3. interface
  4.  
  5. { interface to C code blitters }
  6.  
  7.     uses
  8.         Types;
  9.         
  10.     type
  11.         PixelChunkPtr = ^UInt32;
  12.     
  13.     procedure BlitPixie8Bit(
  14.         srcPixelP: PixelChunkPtr; 
  15.         dstPixelP: PixelChunkPtr; 
  16.         rowsToCopy: UInt32; 
  17.         numBytesPerRow: UInt32; 
  18.         srcRowBytes: UInt32;
  19.         dstRowBytes: UInt32); C;
  20.  
  21.     procedure BlitPixieMask8Bit(
  22.         srcPixelP: PixelChunkPtr; 
  23.         dstPixelP: PixelChunkPtr; 
  24.         maskPixelP: PixelChunkPtr; 
  25.         rowsToCopy: UInt32; 
  26.         numBytesPerRow: UInt32; 
  27.         srcRowBytes: UInt32;
  28.         dstRowBytes: UInt32); C;
  29.  
  30.     procedure BlitPixiePartialMask8Bit(
  31.         srcPixelP: PixelChunkPtr; 
  32.         dstPixelP: PixelChunkPtr; 
  33.         maskPixelP: PixelChunkPtr; 
  34.         rowsToCopy: UInt32; 
  35.         numBytesPerRow: UInt32; 
  36.         srcRowBytes: UInt32;
  37.         dstRowBytes: UInt32); C;
  38.  
  39. end.